package cn.dlc.com.feign.impl;

import cn.dlc.com.feign.Tcc2BankAccountService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

/**
 * @author 邓立川
 * @date 2021/1/19 11:31
 * @desc 降级方法
 */
@Component
@Slf4j
public class Tcc2BankAccountServiceImpl implements Tcc2BankAccountService {

    @Override
    public Boolean transfer(String accountNo, Double amount) {
        log.info("触发了降级方法了！");
        return false;
    }
}
